package com.shy.springframework.aop;

import java.lang.reflect.Method;

/**
 * @author yzpang
 * @desc: 方法前置通知
 * @date: 2023/2/10 15:31
 */
public interface MethodBeforeAdvice extends BeforeAdvice{
    /**
     * 给定方法method调用前回调
     * @param method
     * @param args
     * @param target
     * @throws Throwable
     */
    void before(Method method, Object[] args, Object target) throws Throwable;
}
